<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加宠物信息</title>
</head>

<body>
<form id="myform" method="post" action="PetServlet?action=updatePet">
    <div class="divstyle">
        <h2>宠物基本信息</h2>
        <input type="hidden" id="ids" name="ids" value="${pet.petId}">
        名称：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="petName" name="name"/><br/>
        种类：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="petBreed" name="breed"><br/>
        性别：&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="petSex" name="sex"><br/>
        日期：<input type="text" name="time" id="birthday"/>yyyy-MM-dd<br/>
        描述：<input type ="text" name="type" id="description"/><br/>

        <input type="submit" value="提交"/>
        <input type="reset" value="重置"/>

    </div>
</form>
</body>
</html>
